﻿#region Using
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
#endregion Using

namespace LloydGame
{
    public class ScreenComponentLobbyGo : GameScreenComponent
    {
        #region Fields
        protected Texture2D m_go_button;
        #endregion Fields

        #region Properties
        #endregion

        #region Constructor
        public ScreenComponentLobbyGo(Texture2D p_tex, Vector2 p_pos, Vector2 p_size, Game p_game) :
            base("-", p_pos, p_size, p_game)
        {
            m_go_button = p_tex;
        }
        #endregion

        #region Draw
        public override void Draw(SpriteBatch p_spritebatch, bool p_active)
        {
            // Render button menutext
            if (m_active)
                p_spritebatch.Draw(m_go_button,  m_pos, Color.DimGray);
            else
                p_spritebatch.Draw(m_go_button, m_pos, Color.White);
        }
        #endregion
    }
}
